package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 流量池管理对象 tb_pool
 * 
 * @author ruoyi
 * @date 2023-03-04
 */
public class TbPool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流量池id */
    private Long id;

    /** 流量池名称 */
    @Excel(name = "流量池名称")
    private String poolName;

    /** 池类型 */
    @Excel(name = "池类型")
    private Integer poolType;

    /** 池套餐 */
    @Excel(name = "池套餐")
    private String poolPackage;

    /** 当月池总量 */
    @Excel(name = "当月池总量")
    private BigDecimal poolTotal;

    /** 当月池用量 */
    @Excel(name = "当月池用量")
    private BigDecimal poolConsumption;

    /** 池成员数 */
    @Excel(name = "池成员数")
    private Long poolMember;

    /** 池小组数 */
    @Excel(name = "池小组数")
    private Long poolGroup;

    /** 卡总数 */
    @Excel(name = "卡总数")
    private Long cardTotal;

    /** 上下架状态 */
    @Excel(name = "上下架状态")
    private Integer status;

    /** 删除标志 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPoolName(String poolName) 
    {
        this.poolName = poolName;
    }

    public String getPoolName() 
    {
        return poolName;
    }
    public void setPoolType(Integer poolType) 
    {
        this.poolType = poolType;
    }

    public Integer getPoolType() 
    {
        return poolType;
    }
    public void setPoolPackage(String poolPackage) 
    {
        this.poolPackage = poolPackage;
    }

    public String getPoolPackage() 
    {
        return poolPackage;
    }
    public void setPoolTotal(BigDecimal poolTotal) 
    {
        this.poolTotal = poolTotal;
    }

    public BigDecimal getPoolTotal() 
    {
        return poolTotal;
    }
    public void setPoolConsumption(BigDecimal poolConsumption) 
    {
        this.poolConsumption = poolConsumption;
    }

    public BigDecimal getPoolConsumption() 
    {
        return poolConsumption;
    }
    public void setPoolMember(Long poolMember) 
    {
        this.poolMember = poolMember;
    }

    public Long getPoolMember() 
    {
        return poolMember;
    }
    public void setPoolGroup(Long poolGroup) 
    {
        this.poolGroup = poolGroup;
    }

    public Long getPoolGroup() 
    {
        return poolGroup;
    }
    public void setCardTotal(Long cardTotal) 
    {
        this.cardTotal = cardTotal;
    }

    public Long getCardTotal() 
    {
        return cardTotal;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("poolName", getPoolName())
            .append("poolType", getPoolType())
            .append("poolPackage", getPoolPackage())
            .append("poolTotal", getPoolTotal())
            .append("poolConsumption", getPoolConsumption())
            .append("poolMember", getPoolMember())
            .append("poolGroup", getPoolGroup())
            .append("cardTotal", getCardTotal())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
